home *** CD-ROM | disk | FTP | other *** search
- on prepareMovie
- global gmalpassword, gsigno
- if the machineType = 256 then
- set gsigno to "\"
- else
- set gsigno to ":"
- end if
- set the fileName of member 7 to the pathName & "MEDIA" & gsigno & "DEUNIDO.AVI"
- set the fileName of member 11 to the pathName & "MEDIA" & gsigno & "PRIVATE.AVI"
- end
-
- on startMovie
- global gmalpassword, gsigno
- set gmalpassword to 0
- set the keyDownScript to "teclas"
- put " " into field "password"
- put " " into field "texto salida"
- set the visible of sprite 12 to 0
- set the visible of sprite 3 to 0
- end
-
- on teclas
- global gmalpassword
- if ((the key = RETURN) and (the frame = 43)) or ((the key = ENTER) and (the frame = 43)) then
- case the text of field "password" of
- "15in6":
- ingles()
- "24fr6":
- frances()
- "38de1":
- aleman()
- "64sp0":
- castellano()
- otherwise:
- set gmalpassword to gmalpassword + 1
- if gmalpassword = 3 then
- quit()
- end if
- put " " into field "password"
- hilite line 1 of field "password"
- dontPassEvent()
- end case
- end if
- end
-
- on ingles
- global gidioma
- set gidioma to "EN"
- go(the frame + 2)
- end
-
- on frances
- global gidioma
- set gidioma to "FR"
- go(the frame + 2)
- end
-
- on aleman
- global gidioma
- set gidioma to "DE"
- go(the frame + 2)
- end
-
- on castellano
- global gidioma
- set gidioma to "ES"
- set the visible of sprite 3 to 1
- go(the frame + 1)
- end
-
- on idle
- if the number of chars in field "password" > 5 then
- delete char 5 to the number of chars in field "password" of field "password"
- set the selStart to 4
- end if
- put the text of field "password" into field "texto salida"
- end
-